package com.lonni.rpc.core.register.model;

import lombok.*;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;

/**
 * ServiceURL：
 * Description:
 *
 * @author: Lonni
 * @date: 2024/7/9 0009 17:01
 */
@EqualsAndHashCode(callSuper = true)
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
public class ServiceURL  extends Service implements Serializable {

    private String ip;
    private Integer port;

    @Override
    public String toString() {
        return "ServiceURL{" +
                "interfaceName='"+getInterfaceName()+"'"+
                "group='"+getGroup()+"'"+
                "version='"+getVersion()+"'"+
                "ip='" + ip + '\'' +
                ", port=" + port +
                '}';
    }
}



